﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Themes/Default/Home.master" AutoEventWireup="true" CodeFile="Tranfer.aspx.cs" Inherits="Tranfer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
    .style2
    {
        width: 108px;
        height: 23px;
    }
    .style3
    {
        height: 23px;
    }
    .style4
    {
        width: 108px;
        height: 30px;
    }
    .style5
    {
        height: 30px;
    }
    .style6
    {
        height: 30px;
        width: 395px;
    }
    .style7
    {
        height: 23px;
        width: 395px;
    }
    .style8
    {
        width: 108px;
        height: 18px;
    }
    .style9
    {
        height: 18px;
        width: 395px;
    }
    .style10
    {
        height: 18px;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentRight" Runat="Server">
    <table style="width:100%;">
    <tr>
        <td class="style4">
            <asp:Label ID="Label1" runat="server" Text="AccountID của người nhận"></asp:Label>
        </td>
        <td class="style6">
            <asp:TextBox ID="txtToID" runat="server" Width="216px"></asp:TextBox>
            Ví dụ: 1, 2, ....</td>
        <td class="style5">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtToID" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                ControlToValidate="txtToID" ErrorMessage="RegularExpressionValidator" 
                ValidationExpression="^\d+$">ID không hợp lệ</asp:RegularExpressionValidator>
        </td>
    </tr>
    <tr>
        <td class="style2">
            <asp:Label ID="Label2" runat="server" Text="Số tiền gửi"></asp:Label>
        </td>
        <td class="style7">
            <asp:TextBox ID="txtMoney" runat="server" Width="216px"></asp:TextBox>
            (VND) Ví dụ: 30000</td>
        <td class="style3">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="txtMoney" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                ControlToValidate="txtMoney" ErrorMessage="RegularExpressionValidator" 
                ValidationExpression="^\d+$">Số tiền không hợp lệ</asp:RegularExpressionValidator>
        </td>
    </tr>
    <tr>
        <td class="style8">
        </td>
        <td class="style9">
            <asp:Button ID="Button1" runat="server" Text="Gửi" onclick="Button1_Click" />
        </td>
        <td class="style10">
        </td>
    </tr>
    <tr>
        <td class="style8">
            &nbsp;</td>
        <td class="style9">
            <asp:Label ID="lblResult" runat="server"></asp:Label>
        </td>
        <td class="style10">
            &nbsp;</td>
    </tr>
</table>
</asp:Content>

